//
//  TeacherIndexModel.m
//  YXFinance
//
//  Created by uplooking on 2018/10/24.
//  Copyright © 2018年 CRLong. All rights reserved.
//

#import "TeacherIndexModel.h"

@implementation TeacherIndexModel

+ (instancetype)initWithDictionary:(NSDictionary *)dictionary{
    
    TeacherIndexModel * model = [[TeacherIndexModel alloc]init];
    
    model.t_id = dictionary[@"id"];
    model.teacher_name = dictionary[@"teacher_name"];
    model.teacher_intro = dictionary[@"teacher_intro"];
    model.students = dictionary[@"students"];
    model.icon = dictionary[@"icon"];
    model.top_image = dictionary[@"top_image"];
    model.video_url = dictionary[@"video_url"];
    model.teacher_sort = dictionary[@"teacher_sort"];
    model.litpic = dictionary[@"litpic"];
    
    
    return model;
}

@end
